/**
 * @Title: XunjianRecordService.java
 * @Package me.springboot.mybatis.service
 * @Description: TODO
 * @author zengh
 * @date 2018/04/23
 * @version V1.0
 */
package me.springboot.mybatis.service;

import me.springboot.mybatis.core.Service;
import me.springboot.mybatis.exception.ResultException;
import me.springboot.mybatis.model.XunjianRecord;
import me.springboot.mybatis.web.req.XunJianReqRecord;

import java.util.List;
import java.util.Map;


/**
 * @ClassName: XunjianRecordService
 * @Description: TODO
 * @author zengh
 * @date 2018/04/23
 */
public interface XunjianRecordService extends Service<XunjianRecord> {

    List<Map<String, Object>> selectByReq(XunJianReqRecord xunJianReqRecord);

    void dispatch(String xunjianTime, String devicenums, String userId) throws ResultException;

    void slip(String xunjianRecordId, String userId) throws ResultException;

    List<Map<String,Object>> xunjianAddress(Integer userid);
}